// console.log(process)
// console.log(process.env)

if(process.env.NODE_ENV  === 'production'){
  // console.log('上线,生产环境')
  console.log = function(){}
  console.warning = function(){}
  console.error = function(){}
  console.dir = function(){}
}else{
  // console.log('开发环境')
}